package com.demo.rigistry.listener.mylistener;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import javax.servlet.annotation.WebListener;

@WebListener
public class IndexListener implements ServletContextListener {

	@Override
	public void contextDestroyed(ServletContextEvent arg0) {
		System.out.println("IndexListener contextDestroyed method");
	}

	@Override
	public void contextInitialized(ServletContextEvent arg0) {
		System.out.println("IndexListener contextInitialized method");
	}

}
